/**
 * Created by wd14931 on 2017/4/10.
 */
module.exports = {
    handle500: function(err, req, res, next){

        next(err);

    },

    handle404: function(err, req, res, next){

        var err = new Error('Not Found');

        err.status = 404;

        next(err);
    }
}